package com.thesale.thesaleuser.Service.impl;

import com.thesale.thesaleuser.Service.SaleUserNameService;
import com.thesale.thesaleuser.model.SaleUserName;
import com.thesale.thesaleuser.repository.SaleUserNameRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SaleUserNameServiceImpl implements SaleUserNameService {

    SaleUserNameRepository saleUserNameRepository;

    @Override
    public List<SaleUserName> selectAll() {
        return saleUserNameRepository.findAll();
    }
}
